import {
    createRouter as _createRouter,
    createWebHashHistory,
} from 'vue-router'

import adminLayout from "~/layouts/admin.vue"
const routes = [{
        path: '/login',
        name: 'login',
        component: () =>
            import ('../pages/product/login.vue'),
    },



]

function createRouter() {
    return _createRouter({
        history: createWebHashHistory(),
        routes
    })
}

const router = createRouter()

export default router